HTMLify

index.html
Views: 71 | Author: cody
<!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <title>Image Card Stack Hover Effect</title>
    <meta name="viewport" content="width=device-width, initial-scale=1" />
    <link rel="stylesheet" type="text/css" media="screen" href="style.css" />
  </head>

  <body>
    <div class="card">
      <div class="imgBox">
        <img
          src="https://images.unsplash.com/photo-1495567720989-cebdbdd97913?w=800&auto=format&fit=crop&q=60&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxzZWFyY2h8OXx8c3Vuc2V0fGVufDB8fDB8fHwy&q=80&w=400"
          alt="some image"
        />
      </div>
      <div class="details">
        <h2>Hometown sunset <span>Patras, Greece</span></h2>
      </div>
    </div>
  </body>
</html>

Comments